package com.shiro.sso.demo;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.shiro.sso.demo.oauth2.OAuthInfo;
import com.shiro.sso.demo.utils.OAuthHelper;
import com.shiro.sso.demo.utils.Platform;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.commons.io.IOUtils;
import org.springframework.util.Assert;

/**
 * Hello world!
 */
public class App {

    public static void main(String[] args) throws IOException {
        OAuthInfo o = OAuthHelper.getOauthInfo(Platform.qq);
        System.out.println(o);
    }
}
